package com.xf.lastmall.order.api.vo;

import lombok.Data;

@Data
public class OrderCouponDetail implements Comparable<OrderCouponDetail>{
    /**
     * 类型：String  必有字段  备注：券状态 (10, "未核销"), (20, "已过期"), (30, "退款中"), (40, "已退款"), (50, "已核销"), (60, "退货中"), (70, "已退货");
     */
    private int couponState;
    //该状态下的数量
    private int num;

    @Override
    public int compareTo(OrderCouponDetail o) {
        return couponState-o.couponState;
    }
}
